package com.ydcycloud.job.service.impl;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.ydcycloud.job.dao.ProfessionDao;
import com.ydcycloud.job.model.Profession;
import com.ydcycloud.job.service.ProfessionService;
import com.ydcycloud.sys.service.impl.BaseServiceImpl;

@Component("professionService")
public class ProfessionServiceImpl extends BaseServiceImpl<ProfessionDao, Profession, Integer>
implements ProfessionService{

	@Autowired
	public void setDao(ProfessionDao dao) {
		this.dao = dao;
	}

	@Override
	public List<Profession> getProfessionList(Integer size) {
		// TODO Auto-generated method stub
		return dao.getProfessionList(size);
	}
}
